package com.amry.hellocharts;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

/**
 * Created by <a href="mailto:xuezhixin@hualala.com">Vixb</a> on 3/8/21.
 */
public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        getSupportActionBar().hide();
    }

    public void toLine(View view) {
        startActivity(new Intent(this, LineChartActivity.class));
    }

    public void toColumn(View view) {
        startActivity(new Intent(this, ColumnChartActivity.class));
    }
}
